package com.yidu.hbatsft.dao;

import com.yidu.hbatsft.domain.AtsEmpExpert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AtsEmpExpertMapper {

    int deleteByPrimaryKey(Integer expertId);

    int insert(AtsEmpExpert record);

    int insertSelective(AtsEmpExpert record);

    AtsEmpExpert selectByPrimaryKey(Integer expertId);

    int updateByPrimaryKeySelective(AtsEmpExpert record);

    int updateByPrimaryKey(AtsEmpExpert record);
    /**
     * 查全部
     */
    List<AtsEmpExpert> findAll(String expertName);

    int findCout();
    /**
     * 无参数的查询全部
     */
    List<AtsEmpExpert> findAlls();
    /**
     * 修改专家信息
     */
    int upExpertDate(AtsEmpExpert ate);
    /**
     * 逻辑删除
     */
    int deleteExpertDate(Integer id);
}